package com.adingxiong.cft.database;

import com.adingxiong.cft.entity.MgSysLog;
import com.adingxiong.cft.entity.SysLog;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * @ClassName MongoSysRepository
 * @Description TODO
 * @Author xiongchao
 * @Date 2021/1/15 16:49
 **/
public interface MongoSysRepository extends MongoRepository<MgSysLog,String> {
    /**
     *
     * @param operation
     * @return
     */
    List<MgSysLog> findByOperationOrderByCreateTime(String operation);

}
